﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _03_号的使用
{  
    class Program
    {
        static void Main(string[] args)
        {
            //string name = "团子";
            //Console.WriteLine("holle"+name);//如果+号两边有一边有+号的话，此时+号的作用就是连接。
            //Console.WriteLine("5" + 5);
            //Console.WriteLine(5 + 5);
            //Console.ReadKey();
            string name = "卡卡西";
            string home = "火影村";
            string mail = "kakaxi@qq.com";
            int age = 30;
            int salary = 2000;
            Console.WriteLine("姓名:" + name + "家庭地址:" + home + "邮箱地址:" + mail + "年龄:" + age + "薪水:" + salary);
            Console.WriteLine("姓名：{0},家庭地址{1},邮箱地址{2},年龄：{3},薪水：{4}", name, home, mail, age, salary);
            Console.ReadKey();


        }
    }
}
